<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2022/12/22
  Time: 9:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <%--    引入bootstrap的资源--%>
    <link rel="stylesheet" type="text/css"  href="bootstrap-3.3.6-dist/css/bootstrap.css"/>
    <%--    引入bootstrap的js文件前要先引入jquery文件--%>
    <script src="jquery-1.12.4/jquery-1.12.4.js"></script>
    <script src="bootstrap-3.3.6-dist/js/bootstrap.js"></script>
</head>
<body>
<%--${sessionScope.userinfoe}--%>
<form class="form-horizontal" action="updateUserInfo">
    <div class="form-group">
        <input type="hidden" name="id" class="form-control"
               id="userid"  value="${sessionScope.userinfoe.id}">
        <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-10">
            <input type="text" name="username" class="form-control"
                   id="inputEmail3" placeholder="请输入用户名" value="${sessionScope.userinfoe.username}">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-10">
            <input type="text" name="userpwd" class="form-control"
                   id="inputPassword3" placeholder="请输入密码" value="${sessionScope.userinfoe.userpwd}">
        </div>
    </div>
    <div class="form-group">
        <label for="useraddress" class="col-sm-2 control-label">地址</label>
        <div class="col-sm-10">
            <input type="text" name="useraddress" class="form-control"
                   id="useraddress" placeholder="请输入地址" value="${sessionScope.userinfoe.useraddress}">
        </div>
    </div>
    <div class="form-group">
        <label for="usertel" class="col-sm-2 control-label">联系方式</label>
        <div class="col-sm-10">
            <input type="text" name="usertel" class="form-control"
                   id="usertel" placeholder="请输入联系方式" value="${sessionScope.userinfoe.usertel}">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">修改</button>
        </div>
    </div>
</form>
</body>
</html>
